package CMP_OBJ;

import java.util.Objects;

public class Example {


        /**
         * Check that person is John 25 miner
         */
        Professional john = new Professional("John", 25, "miner");
        public boolean checkJohn (Person p){
        return Objects.equals(p, john);
    }
}
